package com.ssy.lingxi.marketing.model.constant;

/**
 * 营销常量
 * @author yzc
 * @version 2.0.0
 * @date 2020/7/23
 */
public interface MarketingConstants {

    /**
     * 服务名称, 可优化从配置文件读值
     */
    String service_name = "marketing-service";

    /**
     * redis hash key
     */
    String coupon_quantity_key_template = "coupon_qt_ob:bt:{}:id:{}";

    /**
     * 商家优惠券工作流key
     */
    String merchant_coupon_key = "merchant_coupon_verify";

    /**
     * 平台优惠券工作流key
     */
    String platform_coupon_key = "platform_coupon_verify";

    /**
     * 平台活动外部工作流key
     */
    String platform_activity_outer_key = "platform_activity_outer_verify_ext";

    /**
     * 平台活动内部工作流key
     */
    String platform_activity_inner_key = "platform_activity_inner_verify";

    /**
     * 平台活动报名内部工作流key
     */
    String platform_activity_sign_up_inner_key = "platform_activity_sign_up_inner_verify";

    /**
     * 商家活动外部工作流key
     */
    String merchant_activity_outer_verify_key = "merchant_activity_outer_verify_ext";

    /**
     * 商家活动内部工作流key
     */
    String merchant_activity_inner_key = "merchant_activity_inner_verify";

    /**
     * 活动定时任务回调url
     */
    String TASK_CALLBACK_URL = "/marketing/feign/task/callback";

}
